dnd: Remove unnecessary non-toplevel GtkWindow in set_icon_surface
authorTimm Bäder <mail@baedert.org>
Sat, 1 Apr 2017 06:30:20 +0000 (08:30 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 1 Apr 2017 06:40:34 +0000 (08:40 +0200)
commit98a78b0d61e71dca9f90ea99ecc37d225f69e870
treec8909d9cf85bd70b3cf18e08fa7cd1e6ae0af93f
parent8985643966ef387e4a3e060ffc14eeeadaab030c
dnd: Remove unnecessary non-toplevel GtkWindow in set_icon_surface

Instead of creating a GtkWindow, connecting to ::draw and drawing the
surface in there, then adding that window to another GtkWindow... just
use a GtkImage. This also gets rid of a bunch of utility functions used
only in gtk_drag_set_icon_surface.
gtk/gtkdnd.c